find_package(Boost REQUIRED filesystem)
find_package(Alpm REQUIRED)

include_directories(${Boost_INCLUDE_DIRS}
                    ${ALPM_INCLUDE_DIRS})

add_executable(repo-clean
    repo-clean.cpp
    config.cpp
)

target_link_libraries(repo-clean ${Boost_LIBRARIES}
                                 ${ALPM_LIBRARIES})

install(TARGETS repo-clean DESTINATION bin)
install(FILES repocleanrc DESTINATION share/repo-clean)
